using System;
using System.Collections.Generic;
using System.Text;

namespace BikeSystem.Models
{
    [Serializable]
    public class Rental
    {
        protected string rentNo;
        protected string renterName;
        protected string bikeNo;
        protected bool hasLock;
        protected string idType;
        protected string nric;
        protected string contact;
        protected DateTime rentTime;
        protected DateTime returnTime;
        protected bool isReturn;
        protected string usedTime;
        protected string operatorName;
        protected string remark;

        protected Bill bill;

        public Rental() { }

        public Bill Bill
        {
            get { return bill; }
            set { bill = value; }
        }
        public string RentNo
        {
            get { return rentNo; }
            set { rentNo = value; }
        }
        public string BikeNo
        {
            get { return bikeNo; }
            set { bikeNo = value; }
        }
        public string RenterName
        {
            get { return renterName; }
            set { renterName = value; }
        }
        public bool HasLock
        {
            get { return hasLock; }
            set { hasLock = value; }
        }
        public string IDType
        {
            get { return idType; }
            set { idType = value; }
        }
        public string NRIC
        {
            get { return nric; }
            set { nric = value; }
        }
        public string Contact
        {
            get { return contact; }
            set { contact = value; }
        }
        public DateTime RentTime
        {
            get { return rentTime; }
            set { rentTime = value; }
        }
        public DateTime ReturnTime
        {
            get { return returnTime; }
            set { returnTime = value; }
        }
        public bool IsReturn
        {
            get { return isReturn; }
            set { isReturn = value; }
        }

        public string UsedTime
        {
            get { return usedTime; }
            set { usedTime = value; }
        }
        public string OperatorName
        {
            get { return operatorName; }
            set { operatorName = value; }
        }

        public string Remark
        {
            get { return remark; }
            set { remark = value; }
        }
    }
}
